/*
 * @Descripttion:
 * @TapdLink: https://XXX
 * @DesignsLink: https://XXX
 * @RelatedPersons: XXX[市场]、XXX[产品]、XXX[前端]、XXX[后端]、XXX[设计]
 * @version: 1.0.0
 * @Author: Shentong
 * @LastEditors: Shentong
 * @Date: 2021-11-22 10:26:04
 */
import { server } from './server'


interface IRschoolList {
  schoolId?: string | number;
  schoolName?: string
}

// 商品列表
export const getSchoolList = ({schoolId = '', schoolName = '',lon = '', lat = ''} = {}) => {
  return server.POST<IRschoolList, any>(`/school/list?schoolId=${schoolId}&schoolName=${schoolName}&lon=${lon}&lat=${lat}`)
}

// 商品列表
export const getSchoolPhone = () => {
  return server.POST<IRschoolList, any>(`/shop/info`)
}
